package com.briup.demo;

import lombok.*;

import java.time.LocalDate;
import java.time.LocalDateTime;

//加了这个注解之后，这个类在编译的时候，会自动生成getter、setter、equals、hashcode、toString方法
//@Data不会生成构造器
@NoArgsConstructor//无参构造器
@AllArgsConstructor//全参构造器
@Data
//@Getter
//@Setter
//@ToString
//@EqualsAndHashCode
public class User {
    private Integer id;
    private String name;
    private Short age;
    //1男 2女
    private Short gender;
    private String phone;
    private LocalDate birthday;
    private LocalDateTime registerTime;


}
